#ifndef __OPERATOR_H__
#define __OPERATOR_H__

#include <standard/reference.h>
#include "global.h"

class CEditorSceneMgr;
class COperator: public CRefObject{
public:
    COperator( CEditorSceneMgr *pSceneMgr );
    virtual ~COperator();
    virtual bool32 Init();
    virtual bool32 Final();
    virtual bool32 OnLMouseDown( int32 x, int32 y );
    virtual bool32 OnMouseMove( int32 x, int32 y );
    virtual bool32 OnLMouseUp( int32 x, int32 y );
    virtual bool32 OnKeyDown( int32 nKey );
    virtual bool32 OnKeyUp( int32 nKey );
    EOperatorType GetOperatorType();

protected:
    EOperatorType m_eOperatorType;
    CEditorSceneMgr* m_pSceneMgr;

};


#endif
